package com.qh.resourcehub.program.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;
import java.util.List;

@Data
public class FirewallDto extends PageDto{
    private String infoId;
    private String unitName;
    private String contactPerson;
    private String contactInformation;
    private String openDuration;
    private String policyValidPeriod;
    private String businessRequirementDescription;
    private String sourceSystemName;
    private String destinationSystemName;
    private String applyUser;
    private String fileUrl;
    private String otherField;
    private List<FirewallRuleDto> rules;
    //流程表信息
    private String processId;               // 审批流程ID
    private String processStatus;         // 当前审批状态
    private String processStatusName;         // 当前审批状态
    private String processUser;         // 当前申请用户
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date processTime; //申请时间
    private String infoType;
    private String processRecordId;  //审批流程信息ID
    private String recordId;  //审批流程信息ID
    private String examineUserId;  //当前审批人id
    private String recordMsg;  //当前审批信息
    private Long offset;

    private String userCode;//当前用户code
}